/* src/styles.css */
body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 20px;
  background-color: #f5f5f5;
  color: #333;
}

.app {
  min-width: 600px; /* 新增最小宽度 */
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  box-sizing: border-box; /* 新增盒模型 */
}

header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.wallet-info {
  background: #f8f9fa;
  padding: 10px;
  border-radius: 4px;
  margin-top: 10px;
}

.token-info, .claim-section, .withdraw-form {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.owner-badge {
  color: green;
  font-weight: bold;
}

button {
  background: #4CAF50;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 10px;
}

button:disabled {
  background: #cccccc;
  cursor: not-allowed;
}

input {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 100%;
  margin: 5px 0 15px;
}

.error {
  color: #e74c3c;
  font-size: 14px;
}

.withdraw-form div {
  margin-bottom: 10px;
}

/* styles.css */
.connect-wallet-button {
  background-color: #2196F3; /* 更醒目的蓝色 */
  color: white;
  padding: 12px 24px;
  border: 2px solid #1976D2;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  letter-spacing: 1px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.connect-wallet-button:hover {
  background-color: #1976D2;
  transform: translateY(-1px);
}

.connect-wallet-button:active {
  transform: translateY(1px);
}

.connect-wallet-button:disabled {
  background-color: #9e9e9e;
  cursor: not-allowed;
}

/* 专门为Claim按钮添加样式 */
.claim-section button {
  background: #FF5722; /* 橙色更醒目 */
  border: 2px solid #E64A19;
  letter-spacing: 0.5px;
}

.claim-section button:hover {
  background: #E64A19;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.claim-section button:active {
  transform: translateY(1px);
}

.claim-section button:disabled {
  background: #9E9E9E;
  border-color: #757575;
  transform: none;
  box-shadow: none;
}

/* 增强claim-section的对比度 */
.claim-section {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.claim-section h2 {
  color: #333;
  margin-bottom: 15px;
  font-size: 20px;
}

.claim-section p {
  color: #555;
  margin: 8px 0;
  font-size: 15px;
}